import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()


async function main() {
	const user = await prisma.user.create(
	{
		data: { name: "Kyle" }
	}
	)
	console.log(user)
	const users = await prisma.user.findMany()
	console.log(users)
}

main()
.catch(e => {
	console.log(e.message)
})
.finally(async () => {
	await prisma.$disconnect()
})
